﻿using CommonType;
using MediatR;
using S_Incident.Domains.WorkflowEngine;
using SqlSugar;

namespace S_Incident.API.Application.Commands
{
    public class FormSqlSuageCreateCommands: BaceEntity, IRequest<ApiResule<int>>
    {
        /// <summary>
        /// 表单名称
        /// </summary>
        [SugarColumn(ColumnDescription = "表单名称", Length = 200, IsNullable = true)]
        public string? FormName { get; set; }
        /// <summary>
        /// 表单描述
        /// </summary>
        [SugarColumn(ColumnDescription = "表单描述", Length = 200, IsNullable = true)]
        public string? FormDescribe { get; set; }
        /// <summary>
        /// 选择行业
        /// </summary>
        [SugarColumn(ColumnDataType = "INT", IsNullable = false)]
        public Industry SelectIndustry { get; set; }
        /// <summary>
        /// 选择大类
        /// </summary>
        [SugarColumn(ColumnDescription = "选择大类", Length = 250, IsNullable = true)]
        public string? SelectiveCategory { get; set; }
        /// <summary>
        /// 选择小类
        /// </summary>
        public int SelectiveSubclass { get; set; }
    }
}
